package designpatterns.responsibility.chain.code.approve;

/**
 * 审批信息
 */
public class Approve {
    // 提交人
    private String name;
    // 金额(分)
    private Long amount;

    public Approve(String name, Long amount) {
        this.name = name;
        this.amount = amount;
    }

    public Approve() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getAmount() {
        return amount;
    }

    public void setAmount(Long amount) {
        this.amount = amount;
    }

    @Override
    public String toString() {
        return "Approve{" +
                "name='" + name + '\'' +
                ", amount=" + amount +
                '}';
    }
}
